package com.linkage.util.password;

/**
 * <p>Title: password</p>
 * <p>Description: Process all password</p>
 * <p>Copyright: Copyright (c) 2003</p>
 * <p>Company: linkage</p>
 * @author lijq
 * @version 1.0
 */
 
import com.linkage.util.password.plaintext.*;

public class PwdPlaintext implements PwdAPI{
  public PwdPlaintext() {
  }
  public String encryptPassword(String plaintext) throws Exception {
    return Plaintext.encryptPassword(plaintext);
  }
  public String decryptPassword(String cryptograph) throws Exception {
    return Plaintext.decryptPassword(cryptograph);
  }
  public boolean checkPassword(String plaintext, String cryptograph) throws Exception {
    return Plaintext.checkPassword(plaintext, cryptograph);
  }
}